FROM node:8-stretch
LABEL maintainer="caiweili <hellomrpc@126.com>"

ADD doclever-desktop.tar.gz /root
WORKDIR /root/doclever-desktop/doclever
RUN npm link

ADD entrypoint.sh /entrypoint.sh
RUN chmod a+x /entrypoint.sh

ENTRYPOINT ["/entrypoint.sh"]

CMD ["doclever"]